#include "StdAfx.h"
#include "Staff.h"

CStaff::CStaff(
			   CString idNumber, 
			   CString name, 
			   BOOL gender, 
			   COleDateTime birthDay, 
			   CString personalID, 
			   CString phoneNo, 
			   COleDateTime enterYear, 
			   int position, 
			   int department, 
			   CString address, 
			   int salary, 
			   int remainOff, 
			   int absentDay,
			   int age
			  )
{

	this->idNumber			= idNumber;
	this->name				= name;
	this->gender			= gender;
	this->birthDay			= birthDay;
	this->personalID		= personalID;
	this->phoneNo			= phoneNo;
	this->enterYear			= enterYear;
	this->position			= position;
	this->department		= department;
	this->address			= address;
	this->salary			= salary;
	this->remainOff			= remainOff;
	this->absentDay			= absentDay;
	this->age				= age;
}
CStaff::CStaff(void)
{
	idNumber = _T("");
	name = _T("");
	gender = 0;
	birthDay = COleDateTime::GetTickCount();
	personalID = _T("");
	phoneNo = _T("");
	enterYear = COleDateTime::GetTickCount();
	position = 0;
	department = 0;
	address = _T("");
	salary = 0;
	remainOff = 0;
	absentDay = 0;
	age = 0;
}
CStaff::~CStaff(void)
{
}
